package com.jxbeidou.system.setting.convert;

import com.jxbeidou.system.setting.entity.ParamsDO;
import com.jxbeidou.system.setting.vo.ParamsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 参数管理表
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface ParamsConvert {
    ParamsConvert INSTANCE = Mappers.getMapper(ParamsConvert.class);

    ParamsDO convert(ParamsVO vo);

    ParamsVO convert(ParamsDO entity);

    List<ParamsVO> convertList(List<ParamsDO> list);

}